<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="timo-detail-page">
    <div class="layui-card-header">日志详情</div>
    <table class="layui-table timo-detail-table">
        <tbody>
        <tr>
            <th width='100px'>执行主机</th>
            <td th:text="${entity.endpointIp}"></td>
            <th width='100px'>执行端口</th>
            <td th:text="${entity.endpointPort}"></td>
        </tr>
        <tr>
            <th width='100px'>网络协议</th>
            <td th:text="${entity.netProtocol}"></td>
            <th width='100px'>执行状态</th>
            <td th:text="${#dicts.keyValue('COLLECT_STATUS', entity.collectStatus)}"></td>
        </tr>
        <tr>
            <th>执行参数</th>
            <td colspan="3" th:text="${entity.collectParam}"></td>
        </tr>
        <tr>
            <th>执行结果</th>
            <td colspan="3" th:text="${entity.result}"></td>
        </tr>
        <tr>
            <th>错误信息</th>
            <td colspan="3" th:text="${entity.errorMessage}"></td>
        </tr>
        </tbody>
    </table>
    <div class="layui-card-body project-introduce">
        <blockquote class="layui-elem-quote layui-quote-nm">
            <div th:if="${logs != null}">
                <div th:each="item:${logs}" th:text="${item}"></div>
            </div>
        </blockquote>
    </div>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>